#include "stdafx.h"
#include "SampleSystem.h"

#include "SampleComponent.h"


namespace Be
{
	SampleNode::SampleNode(Entity* p_pEntity)
		: Node(p_pEntity)
	{
		m_pSampleComponent.Initialize(p_pEntity);
	}

	SampleNode::~SampleNode()
	{
	}
}

namespace Be
{
	SampleSystem::SampleSystem()
	{
	}

	SampleSystem::~SampleSystem()
	{
	}

	SampleSystem& SampleSystem::Inst()
	{
		static SampleSystem l_Instance;

		return l_Instance;
	}

	void SampleSystem::OnRegister(SampleNode* p_pNode, const SampleNode::Seed& p_rSeed)
	{
		assert(p_pNode != 0);
	}

	void SampleSystem::OnUnregister(SampleNode* p_pNode)
	{
		assert(p_pNode != 0);
	}

	void SampleSystem::OnUpdate(SampleNode* p_pNode)
	{
		assert(p_pNode != 0);
	}
}
